//
//  XVVConditionalSearch.h
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/4/8.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "DKView.h"
#import "XTCSearchConditionShow.h"

@class XVVConditionalSearch;

@protocol XVVConditionalSearchDelegate <NSObject>

@optional

/**
 *  点击搜索条件tableviewcell
 *
 *  @param indexPath cellIndexPath
 */
-(void)XVVConditionalSearchDidClickTableViewWithCellIndexPath:(NSIndexPath*)indexPath;

-(void)conditionalSearch:(XVVConditionalSearch*)seachView seachBarTextDidChange:(NSString*)changText;

-(void)conditionalSearch:(XVVConditionalSearch *)seachView serachBarDidClickSearchButtonWithSearchText:(NSString*)searchText;

@end

@interface XVVConditionalSearch : DKView

@property (nonatomic,strong) UISearchBar *searchbar;

@property (nonatomic) CGFloat listPerHeigth;

@property (nonatomic) NSArray <XMLSearchConditionShowModel*> *useData;

@property (nonatomic,weak) id delegate;

-(void)listShow;

-(void)listdismiss;

-(CGFloat)getViewHeight;

@end
